﻿@model HawaiRestaurant.Models.DataContext.Customer

@{
    Layout = null;
}
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8" />
        <title>@ViewBag.Title</title>
        <link href="@Url.Content("~/Content/styleadmin.css")" rel="stylesheet" type="text/css" />
        <link href="@Url.Content("~/Content/Css/base/jquery-ui.css")" rel="stylesheet" type="text/css" />
        <link href="@Url.Content("~/Content/niceforms-default.css")" rel="stylesheet" type="text/css" />
        <link href="@Url.Content("~/Content/Css/jquery.dataTables.css")" rel="stylesheet" type="text/css" />
        <link href="@Url.Content("~/Content/Css/jquery.dataTables_themeroller.css")" rel="stylesheet" type="text/css" />
        <script src="@Url.Content("/Scripts/jquery.dataTables.js")" type="text/javascript"> </script>
        <script src="@Url.Content("~/Scripts/jquery-2.0.1.min.js")" type="text/javascript"> </script>
        <script src="@Url.Content("~/Scripts/modernizr-2.5.3.js")" type="text/javascript"> </script>

        <script src="@Url.Content("~/Scripts/ddaccordion.js")" type="text/javascript"> </script>
        <script src="@Url.Content("~/Scripts/jconfirmaction.jquery.js")" type="text/javascript"> </script>
        <script src="@Url.Content("~/Scripts/niceforms.js")" type="text/javascript"> </script>
       

    </head>

    <script type="text/javascript">
        ddaccordion.init({
            headerclass: "submenuheader", //Shared CSS class name of headers group
            contentclass: "submenu", //Shared CSS class name of contents group
            revealtype: "click", //Reveal content when user clicks or onmouseover the header? Valid value: "click", "clickgo", or "mouseover"
            mouseoverdelay: 200, //if revealtype="mouseover", set delay in milliseconds before header expands onMouseover
            collapseprev: false, //Collapse previous content (so only one open at any time)? true/false
            defaultexpanded: [], //index of content(s) open by default [index1, index2, etc] [] denotes no content
            onemustopen: false, //Specify whether at least one header should be open always (so never all headers closed)
            animatedefault: false, //Should contents open by default be animated into view?
            persiststate: true, //persist state of opened contents within browser session?
            toggleclass: ["", ""], //Two CSS classes to be applied to the header when it's collapsed and expanded, respectively ["class1", "class2"]
            togglehtml: ["suffix", "<img src='Content/AdminImages/plus.gif' class='statusicon' />", "<img src='Content/AdminImages/minus.gif' class='statusicon' />"], //Additional HTML added to the header when it's collapsed and expanded, respectively ["position", "html1", "html2"] (see docs)
            animatespeed: "fast", //speed of animation: integer in milliseconds (ie: 200), or keywords "fast", "normal", or "slow"
            oninit: function(headers, expandedindices) { //custom code to run when headers have initalized
                //do nothing
            },
            onopenclose: function(header, index, state, isuseractivated) { //custom code to run whenever a header is opened or closed
                //do nothing
            }
        });
        $(document).ready(function() {
            $('.ask').jConfirmAction();

        });
    </script> 
    <body>
        <div id="main_container">

            <div class="header">
 
            </div>
    
            <div class="main_content">
    
                <div class="menu">
                    <ul>
                        <li><a class="current" href="/Home/HomePageIndex">Home page</a></li>
                    </ul>
                </div> 
                <div class="center_content">  
                    <div class="left_content">
                        <div class="sidebarmenu">
                        </div>
                    </div>  
                    <div class="right_content">
                        @using (Html.BeginForm("CreateCustomer", "Admin", FormMethod.Post, new {@class = "niceform"}))
                        {
                            @Html.ValidationSummary(true)
                            <fieldset>
   
                                <dl >
                                    <dt>
                                        <label for="name">Customer Name:</label>
                                    </dt>
                                    <dd>
            
                                        @Html.EditorFor(model => model.Name)

                                        @Html.ValidationMessageFor(model => model.Name)
                                    </dd>
                                </dl>
                                <dl >
                                    <dt>
                                        <label for="name">Customer Address:</label>
                                    </dt>
                                    <dd>
            
                                        @Html.EditorFor(model => model.CustomerAddress)
                                        @Html.ValidationMessageFor(model => model.CustomerAddress)
                                    </dd>
                                </dl>
           
                                <dl >
                                    <dt>
                                        <label for="name">Customer Phone :</label>
                                    </dt>
                                    <dd>

                                        @Html.EditorFor(model => model.CustomerAddress)
                                        @Html.ValidationMessageFor(model => model.CustomerAddress)
                                    </dd>
                                </dl>
           
            
                                <dl >
                                    <dt>
                                        <label for="name">Customer FAX :</label>
                                    </dt>
                                    <dd>

            
                                        @Html.EditorFor(model => model.CustomerFax)
                                        @Html.ValidationMessageFor(model => model.CustomerFax)
 
                                    </dd>
                                </dl>
              
                                <dl >
                                    <dt>
                                        <label for="name">Customer Account :</label>
                                    </dt>
                                    <dd>

            
                                        @Html.EditorFor(model => model.CustomerAccount)
                                        @Html.ValidationMessageFor(model => model.CustomerAccount)
 
                                    </dd>
                                </dl>
         
        
        
                                <dl >
                                    <dt>
                                        <label for="name">Position :</label>
                                    </dt>
                                    <dd>
                                        @Html.EditorFor(model => model.PositionId)
                                        @Html.ValidationMessageFor(model => model.PositionId)
 
                                    </dd>
                                </dl>
                                <dl >
                                    <dt>
                                        <label for="name">OrganizationName :</label>
                                    </dt>
                                    <dd>

            
                                        @Html.EditorFor(model => model.OrganizationName)
                                        @Html.ValidationMessageFor(model => model.OrganizationName)
 
                                    </dd>
                                </dl>
        
        
                                <dl >
                                    <dt>
                                        <label for="name">Organization Address :</label>
                                    </dt>
                                    <dd>

                                        @Html.EditorFor(model => model.OrganizationAddress)
                                        @Html.ValidationMessageFor(model => model.OrganizationAddress)
                                    </dd>
                                </dl>
                                <dl >
                                    <dt>
                                        <label for="name">User Name :</label>
                                    </dt>
                                    <dd>
            
                                        @Html.EditorFor(model => model.User.UserName)
        
                                    </dd>
                                </dl>
           
           
                                <dl >
                                    <dt>
                                        <label for="name">Password :</label>
                                    </dt>
                                    <dd>
            
                                        @Html.PasswordFor(model => model.User.Password)
        
                                    </dd>
                                </dl>
                                <dl class="submit" style="margin-left: -50px">
                                    <dd>
                                        <input id="submit" class="NFButton" type="submit" value="Submit" name="submit"> 
                                    </dd>
                                </dl>
                            </fieldset>
                        }
          
                        
                        
                        
                        

                    </div>
                </div>   <!--end of center content -->               
                    
                    
    	
    
                <div class="clear"></div>
            </div> <!--end of main content-->
	
    
            <div class="footer">
    
                <div class="left_footer">Powered by <a href="http://google.com.vn">ThanhLT1</a></div>
                @*<div class="right_footer"><a href="http://google.com.vn"><img src="Content/AdminImages/indeziner_logo.gif" alt="" title="" border="0" /></a></div>*@
    
            </div>

        </div>
        
    </body>
</html>